package com.demo.service;

import com.demo.beans.Menu;
import com.demo.beans.Permission;
import com.demo.beans.ReturnData;
import org.springframework.web.bind.annotation.RequestBody;

public interface MenuService {
    public void recordClick(String menuAction, String userId);
    public ReturnData getMenuList(Menu menu);
    public ReturnData insertMenu(Menu menu);
    public ReturnData queryMenuPermission(String userId);
    public ReturnData addMenuPermission(String userId, String menuIds);
    public ReturnData queryMenuDetail(Menu menu);
    public ReturnData updateMenu(Menu menu);
}
